package com.waikuai.shop.vo;

import lombok.Data;

import java.util.List;

/**
 * 批量发放结果VO
 * @author waikuai
 */
@Data
public class CardIssueResultVO {

    /**
     * 总处理数
     */
    private Integer total;

    /**
     * 成功数量
     */
    private Integer successCount;

    /**
     * 失败数量
     */
    private Integer failCount;

    /**
     * 成功的记录明细
     */
    private List<CardIssueDetail> successList;

    /**
     * 失败的记录明细
     */
    private List<CardIssueFailDetail> failList;

    @Data
    public static class CardIssueDetail {
        private String employeeNo;
        private String employeeName;
        private String cardNumber;
        private String cardPassword;
        private Double amount;
    }

    @Data
    public static class CardIssueFailDetail {
        private String employeeNo;
        private String employeeName;
        private String reason;
    }
}

